#include<func.h>
void SignHandler(int signum)
{
    printf("sig %d is comming\n",signum);
}
int main()
{
    if(SIG_ERR==signal(SIGINT,SignHandler)){
        printf("signal failed\n");
        return -1;

    }
    while(1);
    //     int i;
    // scanf("%d",&i);
    // printf("get=%d\n",i);
    return 0;
}